home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 910 b | 25 lines | [TEXT/GEOL] |
- Item 6081755 29-May-90 17:40PDT
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: CDA0004 VAR Shana Corp, Don Murphy,IVR
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Potential Failure Problem
-
- There's nothing wrong with a global procedure as a failure handler, or with
- calling CatchFailures from a global routine.
-
- What the mechanism wasn't designed for was to call CatchFailures in one routine
- but call Success in another. If a failure handler is "in effect" for the
- duration of one routine then everything should be fine. This automatically
- solves the moving segment problem.
-
- The more serious problem is that when a failure is caught the stack pointer is
- restored to the value at the time of CatchFailures, which will be garbage if
- the procedure that called CatchFailures has returned.
-
- Larry
-
-